package com.example.ibsp_demo.pojo.dto.login;

// 登录请求DTO
public class LoginDto {
    private String userInput; // 用户名/手机号/邮箱
    private String password;  // 密码


    public LoginDto(String userInput, String password) {
        this.userInput = userInput;
        this.password = password;
    }

    public LoginDto() {
    }

    @Override
    public String toString() {
        return "LoginDto{" +
                "userInput='" + userInput + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public String getUserInput() {
        return userInput;
    }

    public void setUserInput(String userInput) {
        this.userInput = userInput;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
